﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace NetDisk.Models
{
    [Table("dir_indexes")]
    public class DirIndex
    {
        [Column("id")]
        public int Id { get; set; }

        [Column("dir_id")]
        public int DirId { get; set; }

        [Column("dir_name")]
        public string DirName { get; set; }

        [Column("parent_index")]
        public string ParentIndex { get; set; }

        [Column("dir_path")]
        public string DirPath { get; set; }

        [Column("created_at")]
        public long? CreatedAt { get; set; }

        [Column("updated_at")]
        public long? UpdatedAt { get; set; }
    }
}
